//    Copyright (C) Kherty.  All rights reserved.
using System.Windows;

namespace OpenLS.Chart.UI
{
    public class PropertyElement
    {
        public static PropertyTabHint GetPropertyTabHint(DependencyObject obj)
        {
            return (PropertyTabHint) obj.GetValue(PropertyTabHintProperty);
        }

        public static void SetPropertyTabHint(DependencyObject obj, PropertyTabHint value)
        {
            obj.SetValue(PropertyTabHintProperty, value);
        }

        // Using a DependencyProperty as the backing store for PropertyTabHint.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty PropertyTabHintProperty =
            DependencyProperty.RegisterAttached("PropertyTabHint", typeof (PropertyTabHint), typeof (PropertyElement),
                                                new FrameworkPropertyMetadata(PropertyTabHint.None,
                                                                              FrameworkPropertyMetadataOptions.Inherits));
    }
}